Skip to content

Conversation

@natalierobbins
Copy link
Collaborator

@natalierobbins natalierobbins commented Dec 5, 2025

πŸ“„ Description

Added location CRUD script:

Screen.Recording.2025-12-04.at.6.49.04.PM.mov

βœ… Checklist

  • Tests added/updated where needed
  • Docs added/updated if applicable
  • I have linked the issue this PR closes (if any)

πŸ”— Related Issues

πŸ’‘ Type of change

Type Checked?
🐞 Bug fix [ ]
✨ New feature [x]
πŸ“ Documentation [ ]
♻️ Refactor [ ]
πŸ› οΈ Build/CI [ ]
Other (explain) [ ]

πŸ§ͺ How to test

See usage tutorial at top of script

npm run location [ ... ]

πŸ“ Notes to reviewers

*
* Operations:
* create <hubName> <hubType> <locationType> <address>
* Example: npm run location -- create "Main Hub" ESTABLISHMENT ROOFTOP "123 Main St, City, State 12345"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Repeat this for multiple locations?

Copy link
Member

@anantmittal anantmittal Dec 5, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Batch insert through yaml list

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@natalierobbins tagging for visibility.

@anantmittal
Copy link
Member

@natalierobbins: Reminder to push the yaml file.

@anantmittal anantmittal changed the base branch from main to test January 13, 2026 17:21
- resolves absolute import statements
- IDE recognizes node packages
@anantmittal anantmittal merged commit 199655b into uw-ssec:test Jan 13, 2026
ihsankahveci pushed a commit to ihsankahveci/respondent-driven-sampling-qualtrics that referenced this pull request Jan 14, 2026
* feat: location script

* bulk import options

* refactor: moved location CRUD script to server/src

- resolves absolute import statements
- IDE recognizes node packages

* remove: old location crud file

---------

Co-authored-by: Anant Mittal <anmittal@uw.edu>
anantmittal added a commit that referenced this pull request Jan 16, 2026
* fix: Client CASL (#138)

* fix: client casl

* simplyify survey fetch

* simplify fetch and normalize function

* review: add comments for Natalie

* deserialization updates

* timezone handling updates

* refactor: consolidate useApi

* refactor: update signup page with api response structure

* refactor: mc

---------

Co-authored-by: Anant Mittal <anmittal@uw.edu>

* feat: location script (#137)

* feat: location script

* bulk import options

* refactor: moved location CRUD script to server/src

- resolves absolute import statements
- IDE recognizes node packages

* remove: old location crud file

---------

Co-authored-by: Anant Mittal <anmittal@uw.edu>

* Timezone Fixes (#153)

* fix: client-side permission checks will always use Pacific timezone regardless of the server TIMEZONE configuration, potentially causing inconsistencies between client and server permission evaluations

* Update client/src/hooks/useAbility.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update server/.env.example

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* Update client/src/components/forms/LocationSelect.tsx

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* revert: gh copilot fix

* refactor: move all scripts to server folder

---------

Co-authored-by: Natalie Robbins <102693174+natalierobbins@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants